<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>迅购网 - 店铺管理</title>

    <%@ include file="../../common/meta.jsp" %>
    <%@ include file="../../common/taglib.jsp" %>

    <script type="text/javascript">
        function getPage(a, url) {
            $.ajax({
                url: url,
                dataType: 'html',
                success: function (document) {
                    $('#personalRightContent').html(document);
                    $('.current-li').removeClass('current-li');
                    $(a).parent().addClass('current-li');
                }
            });
        }
    </script>
</head>
<body>
<jsp:include page="../../global/head.jsp" flush="true">
    <jsp:param name="showkj" value="0"/>
</jsp:include>
    <input type="hidden" id="shopManageInitPage" value="${param.page}">

<div class="personal w1200">
    <div class="personal-left f-l">
        <div class="personal-l-tit">
            <h3>店铺管理</h3>
        </div>
        <ul>
            <li class="per-li2"><a id="getAuthenticationPageA" onclick="getPage(this,ctx+'/shop/authenticationPage.do')">实体店认证<span>></span></a>
            </li>
            <li class="per-li3"><a id="manageGoodPageA" onclick="getPage(this,ctx+'/good/manageGoodPage.do')">商品管理<span>></span></a></li>
            <li class="per-li4"><a id="addGoodPageA" onclick="getPage(this,ctx+'/good/addGoodPage.do')">商品添加<span>></span></a></li>
            <li class="per-li5"><a id="orderListForShopPage" onclick="getPage(this,ctx+'/user/orderListForShopPage.do')">订单管理<span></span></a></li>
            <li class="per-li6"><a id="senderManagePageA" onclick="getPage(this,ctx+'/user/senderManagePage.do')">送货人管理<span>></span></a></li>
            <li class="per-li6"><a id="addSenderPageA" onclick="getPage(this,ctx+'/user/addSenderPage.do')">添加送货人<span>></span></a></li>
        </ul>
    </div>
    <div class="purchase-records f-r" id="personalRightContent" style="padding-bottom: 80px;">

    </div>
    <div style="clear:both;"></div>
</div>
    <script type="text/javascript">
        $(function(){
            if($("#shopManageInitPage").val()!="")
                $('#'+$("#shopManageInitPage").val()).click();
            else
                $('#orderListForShopPage').click();
        });
    </script>
</body>
</html>